package cn.jjxx.modules.jgkh.service.impl;

import java.util.List;
import cn.jjxx.core.common.service.impl.CommonServiceImpl;
import cn.jjxx.modules.jgkh.mapper.JgkhProblemRectMapper;
import cn.jjxx.modules.jgkh.entity.JgkhProblemRect;
import cn.jjxx.modules.jgkh.service.IJgkhProblemRectService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**   
 * @Title: 问题及整改(评分表)
 * @Description: 问题及整改(评分表)
 * @author yw
 * @date 2022-01-13 14:46:58
 * @version V1.0   
 *
 */
@Transactional
@Service("jgkhProblemRectService")
public class JgkhProblemRectServiceImpl  extends CommonServiceImpl<JgkhProblemRectMapper,JgkhProblemRect> implements  IJgkhProblemRectService {

	@Override
	public boolean insertBatch(List<JgkhProblemRect> list) {
		if(list!=null&&list.size()>0){
			return baseMapper.insertBatch(list);
		}
		return true;
	}

	@Override
	public boolean updateBatch(List<JgkhProblemRect> list) {
		if(list!=null&&list.size()>0){
			return baseMapper.updateBatch(list);
		}
		return true;
	}
}
